export const state = {
  isLoading: false,
  userInfo: localStorage.getItem('userInfo') ? JSON.parse(localStorage.getItem('userInfo')) : '',
  tabsList: [{
    name: '调拨',
    subTabTitle: '闲余调拨',
    icon: 'apartment',
    path: '/allot/task',
    children: [{
      name: '闲余调拨',
      auth: false,
      children: [{
        name: '任务定义',
        path: '/allot/task',
        auth: false
      },
        {
          name: '盘点任务',
          path: '/allot/inventoryTask',
          auth: false
        },
        {
          name: '集市',
          path: '/allot/market',
          auth: false
        },
        {
          name: '我的出售',
          path: '/allot/mySale',
          auth: false
        },
        {
          name: '我的购入',
          path: '/allot/myPurchase',
          auth: false
        },
        {
          name: '资产分析',
          path: '/allot/assetAnalysis',
          auth: false
        },
        {
          name: '期初数据分析',
          path: '/allot/beginData',
          auth: false
        },
        {
          name: '应用情况',
          path: '/allot/applicationStatus',
          auth: false
        },
        {
          name: '周转材料回收率',
          path: '/allot/recoveryRate',
          auth: false
        },
        {
          name: '财务人员配置',
          path: '/allot/financial',
          auth: false
        },
        {
          name: '资产分类配置',
          path: '/allot/classifyConfig',
          auth: false
        },
        // {
        //     name: '计量单位配置',
        //     path: '/allot/unitConfig',
        //     auth: false
        // },
        // {
        //     name: '计量单位转换系数',
        //     path: '/allot/unitCoeff',
        //     auth: false
        // },
        {
          name: '报表项目配置',
          path: '/allot/reportConfig',
          auth: false
        }
      ]
    }]
  },
    {
      name: '验收',
      subTabTitle: '协同验收',
      icon: 'apartment',
      path: '/acceptance/acceptanceList',
      children: [{
        name: '协同验收',
        auth: false,
        children: [{
          name: '验收列表',
          path: '/acceptance/acceptanceList',
          auth: false
        },
          {
            name: '验收推送',
            path: '/acceptance/acceptancePush',
            auth: false
          },
          {
            name: '采购订单',
            path: '/acceptance/purchase',
            auth: false
          },
          {
            name: '异常检查',
            path: '/acceptance/abnormal',
            auth: false
          },
          {
            name: '物资分析',
            path: '/acceptance/supplies',
            auth: false
          },
          {
            name: '月结物资配置',
            path: '/acceptance/monthSummary',
            auth: false
          },
          {
            name: '磅单记录',
            path: '/acceptance/listRecord',
            auth: false
          },
          {
            name: '验收人员配置',
            path: '/acceptance/acceptanceConfig',
            auth: false
          },
          {
            name: '免现场验收设置',
            path: '/acceptance/noEntryConfig',
            auth: false
          },
          {
            name: '电子磅单ID配置',
            path: '/acceptance/IdConfig',
            auth: false
          },
          {
            name: '物资验收配置',
            path: '/acceptance/accepConfig',
            auth: false
          }
        ]
      }]
    },
    {
      name: '项目管理',
      subTabTitle: '项目管理',
      icon: 'apartment',
      path: '/projectManagement',
      children: [{
        name: '项目管理',
        auth: false,
        children: [{
          name: '项目列表',
          path: '/projectManagement',
          auth: false
        }, {
          name: '项目组管理',
          path: '/projectManagement/projectTeam',
          auth: false
        }]
      }]
    },
    {
      name: '废旧物资',
      subTabTitle: '废旧物资',
      icon: 'apartment',
      path: '/wasteManage/applyInvoiceList',
      children: [{
        name: '废旧物资',
        auth: false,
        children: [{
          name: '申请单',
          path: '/wasteManage/applyInvoiceList',
          auth: false
        },
          {
            name: '登记单',
            path: '/wasteManage/registerInvoice/list',
            auth: false
          },
          {
            name: '变更单',
            path: '/wasteManage/changeInvoice/list',
            auth: false
          },
          {
            name: '进场单',
            path: '/wasteManage/approach/list',
            auth: false
          }
        ]
      }]
    },
    {
      name: '档案管理',
      subTabTitle: '档案管理',
      icon: 'apartment',
      path: '/files/sgsfile',
      children: [{
        name: '档案管理',
        auth: false,
        children: [{
          name: '收购商',
          path: '/files/sgsfile',
          auth: false
        },
          {
            name: '黑名单',
            path: '/files/blacklistfile',
            auth: false
          },
          {
            name: '银行档案',
            path: '/files/bankdocfile',
            auth: false
          },
          {
            name: '自定义档案',
            path: '/files/defdocfile',
            auth: false
          }
        ]
      }]
    },
    {
      name: '系统',
      subTabTitle: '系统管理',
      icon: 'setting',
      path: '/systemManage/userInfo',
      children: [{
        name: '系统管理',
        auth: false,
        children: [{
          name: '账户信息',
          path: '/systemManage/userInfo',
          auth: false
        },
          {
            name: '账号管理',
            path: '/systemManage/account',
            auth: false
          },
          {
            name: '角色管理',
            path: '/systemManage/roleManage',
            auth: false
          },
          {
            name: '组织管理',
            path: '/systemManage/organizeManage',
            auth: false
          },
          {
            name: '审批设置',
            path: '/systemManage/approvalFlow',
            auth: false
          },
          {
            name: '项目管理',
            path: '/systemManage/projectManage',
            auth: false
          },
          {
            name: '物资管理',
            path: '/systemManage/materialManage',
            auth: false
          },
          {
            name: '消息中心',
            path: '/systemManage/message',
            auth: false
          }
        ]
      }]
    }
  ],
  isFold: false,
  breadCrumb: ''
}
